package com.rightsidetech.system.service;

import com.rightsidetech.commom.base.ResponseData;
import com.rightsidetech.system.dtos.request.store.StoreAppBackReq;
import com.rightsidetech.system.dtos.request.store.StoreAppCodeLoginReq;
import com.rightsidetech.system.dtos.request.store.StoreAppLoginReq;
import com.rightsidetech.system.dtos.request.store.StoreAppRegistReq;
import com.rightsidetech.system.dtos.response.store.AppLoginInfoResp;
import com.rightsidetech.system.dtos.response.store.StoreAppLoginResp;
import com.rightsidetech.system.dtos.response.store.StoreNamInfoResp;
import com.rightsidetech.system.entity.store.SysStoreLoginHistory;
import com.rightsidetech.system.entity.store.SysStoreLoginInfo;

import javax.annotation.Resource;

/**
 * @Package: com.rightsidetech.system.service
 * @ClassName: StoreLoginInfoService
 * @Author: yinj
 * @CreateTime: 2021/11/04 13:58
 */
public interface StoreLoginInfoService {

    ResponseData<StoreAppLoginResp> login(StoreAppLoginReq req);

    ResponseData<StoreAppLoginResp> codeLogin(StoreAppCodeLoginReq req);

    ResponseData logout(Long storeInfoId);

    ResponseData<AppLoginInfoResp> getLoginInfo(Long storeInfoId);

    ResponseData regist(StoreAppRegistReq req);

    ResponseData back(StoreAppBackReq req);

    StoreNamInfoResp selectName(Long storeId);


}
